<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <button onclick="changeQibu()">切换到起步</button>

    <script>

        function changeQibu(){
            // window.history.pushState({title:'qibu'},'起步','http://localhost:9527/src/test/start.html')
            window.history.forward()
        }

        // window.addEventListener('pushstate', function(){
        //     console.log("22222222222")
        // })
        
        window.addEventListener('popstate', function(event){
            // console.log(event)
            console.log(window.history)
        })    
    </script>
</body>
</html>